package com.imc.beans;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.UniqueConstraint;

/**
 * UserInfo entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "user_info", catalog = "imcdbserver", uniqueConstraints = @UniqueConstraint(columnNames = "name"))
public class UserInfo implements java.io.Serializable {

	// Fields

	private Integer uid;
	private String nick;
	private short portrait;
	private short status;
	private short gender;
	private String birth;
	private short country;
	private String province;
	private String city;
	private String introduce;
	private String name;
	private String zip;
	private short bloodType;
	private short constellation;
	private short marry;
	private short profession;
	private String address;
	private String homepage;
	private String email;
	private String mobile;
	private String phone;
	private String passwd;
	private short netsec;
	private short infosec;
	private Integer power;
	private long regTime;
	private long loginTime;
	private String corp;
	private String hignDept;
	private String lowDept;
	private String position;
	private String isGsf;
	private Integer maxGsf;
	private String isGsm;
	private Integer maxGsm;
	private Integer maxClusterCreate;
	private Integer maxClusterMember;
	private Integer maxClusterList;
	private Integer organId;
	private Integer userSort;
	private Integer userDate;
	private Integer corpId;
	private String ip;
	private Integer port;
	private Integer loginnum;
	private String duty;
	private boolean lead;
	private String operation;
	private boolean isvalid;
	private long userSpace;
	private Integer smPower;
	private String modSmsSign;
	private Integer dpid;
	private Integer organAllfriend;
	private String userSign;
	private String xwtZhId;
	private String xwtBjId;
	private String userIdno;
	private String logVersion;
	private Integer userMore;
	private short syncflag;
	private String county;
	private Integer bkGsm;
	private Integer xjBhao;

	// Constructors

	/** default constructor */
	public UserInfo() {
	}

	/** minimal constructor */
	public UserInfo(String nick, short portrait, short status, short gender,
			String birth, short country, String province, String city,
			String name, String zip, short bloodType, short constellation,
			short marry, short profession, String address, String homepage,
			String mobile, String phone, short netsec, short infosec,
			Integer power, long regTime, long loginTime, String isGsf,
			Integer maxGsf, String isGsm, Integer maxGsm,
			Integer maxClusterCreate, Integer maxClusterMember,
			Integer maxClusterList, long userSpace, Integer smPower,
			Integer organAllfriend, String logVersion, Integer userMore) {
		this.nick = nick;
		this.portrait = portrait;
		this.status = status;
		this.gender = gender;
		this.birth = birth;
		this.country = country;
		this.province = province;
		this.city = city;
		this.name = name;
		this.zip = zip;
		this.bloodType = bloodType;
		this.constellation = constellation;
		this.marry = marry;
		this.profession = profession;
		this.address = address;
		this.homepage = homepage;
		this.mobile = mobile;
		this.phone = phone;
		this.netsec = netsec;
		this.infosec = infosec;
		this.power = power;
		this.regTime = regTime;
		this.loginTime = loginTime;
		this.isGsf = isGsf;
		this.maxGsf = maxGsf;
		this.isGsm = isGsm;
		this.maxGsm = maxGsm;
		this.maxClusterCreate = maxClusterCreate;
		this.maxClusterMember = maxClusterMember;
		this.maxClusterList = maxClusterList;
		this.userSpace = userSpace;
		this.smPower = smPower;
		this.organAllfriend = organAllfriend;
		this.logVersion = logVersion;
		this.userMore = userMore;
	}

	/** full constructor */
	public UserInfo(String nick, short portrait, short status, short gender,
			String birth, short country, String province, String city,
			String introduce, String name, String zip, short bloodType,
			short constellation, short marry, short profession, String address,
			String homepage, String email, String mobile, String phone,
			String passwd, short netsec, short infosec, Integer power,
			long regTime, long loginTime, String corp, String hignDept,
			String lowDept, String position, String isGsf, Integer maxGsf,
			String isGsm, Integer maxGsm, Integer maxClusterCreate,
			Integer maxClusterMember, Integer maxClusterList, Integer organId,
			Integer userSort, Integer userDate, Integer corpId, String ip,
			Integer port, Integer loginnum, String duty, boolean lead,
			String operation, boolean isvalid, long userSpace, Integer smPower,
			String modSmsSign, Integer dpid, Integer organAllfriend,
			String userSign, String xwtZhId, String xwtBjId, String userIdno,
			String logVersion, Integer userMore, short syncflag, String county,
			Integer bkGsm, Integer xjBhao) {
		this.nick = nick;
		this.portrait = portrait;
		this.status = status;
		this.gender = gender;
		this.birth = birth;
		this.country = country;
		this.province = province;
		this.city = city;
		this.introduce = introduce;
		this.name = name;
		this.zip = zip;
		this.bloodType = bloodType;
		this.constellation = constellation;
		this.marry = marry;
		this.profession = profession;
		this.address = address;
		this.homepage = homepage;
		this.email = email;
		this.mobile = mobile;
		this.phone = phone;
		this.passwd = passwd;
		this.netsec = netsec;
		this.infosec = infosec;
		this.power = power;
		this.regTime = regTime;
		this.loginTime = loginTime;
		this.corp = corp;
		this.hignDept = hignDept;
		this.lowDept = lowDept;
		this.position = position;
		this.isGsf = isGsf;
		this.maxGsf = maxGsf;
		this.isGsm = isGsm;
		this.maxGsm = maxGsm;
		this.maxClusterCreate = maxClusterCreate;
		this.maxClusterMember = maxClusterMember;
		this.maxClusterList = maxClusterList;
		this.organId = organId;
		this.userSort = userSort;
		this.userDate = userDate;
		this.corpId = corpId;
		this.ip = ip;
		this.port = port;
		this.loginnum = loginnum;
		this.duty = duty;
		this.lead = lead;
		this.operation = operation;
		this.isvalid = isvalid;
		this.userSpace = userSpace;
		this.smPower = smPower;
		this.modSmsSign = modSmsSign;
		this.dpid = dpid;
		this.organAllfriend = organAllfriend;
		this.userSign = userSign;
		this.xwtZhId = xwtZhId;
		this.xwtBjId = xwtBjId;
		this.userIdno = userIdno;
		this.logVersion = logVersion;
		this.userMore = userMore;
		this.syncflag = syncflag;
		this.county = county;
		this.bkGsm = bkGsm;
		this.xjBhao = xjBhao;
	}

	// Property accessors
	@Id
	@GeneratedValue
	@Column(name = "uid", unique = true, nullable = false)
	public Integer getUid() {
		return this.uid;
	}

	public void setUid(Integer uid) {
		this.uid = uid;
	}

	@Column(name = "nick", nullable = false, length = 32)
	public String getNick() {
		return this.nick;
	}

	public void setNick(String nick) {
		this.nick = nick;
	}

	@Column(name = "portrait", nullable = false)
	public short getPortrait() {
		return this.portrait;
	}

	public void setPortrait(short portrait) {
		this.portrait = portrait;
	}

	@Column(name = "status", nullable = false)
	public short getStatus() {
		return this.status;
	}

	public void setStatus(short status) {
		this.status = status;
	}

	@Column(name = "gender", nullable = false)
	public short getGender() {
		return this.gender;
	}

	public void setGender(short gender) {
		this.gender = gender;
	}

	@Column(name = "birth", nullable = false, length = 8)
	public String getBirth() {
		return this.birth;
	}

	public void setBirth(String birth) {
		this.birth = birth;
	}

	@Column(name = "country", nullable = false)
	public short getCountry() {
		return this.country;
	}

	public void setCountry(short country) {
		this.country = country;
	}

	@Column(name = "province", nullable = false, length = 20)
	public String getProvince() {
		return this.province;
	}

	public void setProvince(String province) {
		this.province = province;
	}

	@Column(name = "city", nullable = false, length = 20)
	public String getCity() {
		return this.city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	@Column(name = "introduce")
	public String getIntroduce() {
		return this.introduce;
	}

	public void setIntroduce(String introduce) {
		this.introduce = introduce;
	}

	@Column(name = "name", unique = true, nullable = false, length = 20)
	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@Column(name = "zip", nullable = false, length = 8)
	public String getZip() {
		return this.zip;
	}

	public void setZip(String zip) {
		this.zip = zip;
	}

	@Column(name = "blood_type", nullable = false)
	public short getBloodType() {
		return this.bloodType;
	}

	public void setBloodType(short bloodType) {
		this.bloodType = bloodType;
	}

	@Column(name = "constellation", nullable = false)
	public short getConstellation() {
		return this.constellation;
	}

	public void setConstellation(short constellation) {
		this.constellation = constellation;
	}

	@Column(name = "marry", nullable = false)
	public short getMarry() {
		return this.marry;
	}

	public void setMarry(short marry) {
		this.marry = marry;
	}

	@Column(name = "profession", nullable = false)
	public short getProfession() {
		return this.profession;
	}

	public void setProfession(short profession) {
		this.profession = profession;
	}

	@Column(name = "address", nullable = false, length = 64)
	public String getAddress() {
		return this.address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	@Column(name = "homepage", nullable = false, length = 64)
	public String getHomepage() {
		return this.homepage;
	}

	public void setHomepage(String homepage) {
		this.homepage = homepage;
	}

	@Column(name = "email", length = 64)
	public String getEmail() {
		return this.email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	@Column(name = "mobile", nullable = false, length = 20)
	public String getMobile() {
		return this.mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	@Column(name = "phone", nullable = false, length = 20)
	public String getPhone() {
		return this.phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	@Column(name = "passwd", length = 16)
	public String getPasswd() {
		return this.passwd;
	}

	public void setPasswd(String passwd) {
		this.passwd = passwd;
	}

	@Column(name = "netsec", nullable = false)
	public short getNetsec() {
		return this.netsec;
	}

	public void setNetsec(short netsec) {
		this.netsec = netsec;
	}

	@Column(name = "infosec", nullable = false)
	public short getInfosec() {
		return this.infosec;
	}

	public void setInfosec(short infosec) {
		this.infosec = infosec;
	}

	@Column(name = "power", nullable = false)
	public Integer getPower() {
		return this.power;
	}

	public void setPower(Integer power) {
		this.power = power;
	}

	@Column(name = "reg_time", nullable = false)
	public long getRegTime() {
		return this.regTime;
	}

	public void setRegTime(long regTime) {
		this.regTime = regTime;
	}

	@Column(name = "login_time", nullable = false)
	public long getLoginTime() {
		return this.loginTime;
	}

	public void setLoginTime(long loginTime) {
		this.loginTime = loginTime;
	}

	@Column(name = "corp", length = 200)
	public String getCorp() {
		return this.corp;
	}

	public void setCorp(String corp) {
		this.corp = corp;
	}

	@Column(name = "hign_dept", length = 100)
	public String getHignDept() {
		return this.hignDept;
	}

	public void setHignDept(String hignDept) {
		this.hignDept = hignDept;
	}

	@Column(name = "low_dept", length = 100)
	public String getLowDept() {
		return this.lowDept;
	}

	public void setLowDept(String lowDept) {
		this.lowDept = lowDept;
	}

	@Column(name = "position", length = 20)
	public String getPosition() {
		return this.position;
	}

	public void setPosition(String position) {
		this.position = position;
	}

	@Column(name = "isGSF", nullable = false, length = 10)
	public String getIsGsf() {
		return this.isGsf;
	}

	public void setIsGsf(String isGsf) {
		this.isGsf = isGsf;
	}

	@Column(name = "maxGSF", nullable = false)
	public Integer getMaxGsf() {
		return this.maxGsf;
	}

	public void setMaxGsf(Integer maxGsf) {
		this.maxGsf = maxGsf;
	}

	@Column(name = "isGSM", nullable = false, length = 10)
	public String getIsGsm() {
		return this.isGsm;
	}

	public void setIsGsm(String isGsm) {
		this.isGsm = isGsm;
	}

	@Column(name = "maxGSM", nullable = false)
	public Integer getMaxGsm() {
		return this.maxGsm;
	}

	public void setMaxGsm(Integer maxGsm) {
		this.maxGsm = maxGsm;
	}

	@Column(name = "max_cluster_create", nullable = false)
	public Integer getMaxClusterCreate() {
		return this.maxClusterCreate;
	}

	public void setMaxClusterCreate(Integer maxClusterCreate) {
		this.maxClusterCreate = maxClusterCreate;
	}

	@Column(name = "max_cluster_member", nullable = false)
	public Integer getMaxClusterMember() {
		return this.maxClusterMember;
	}

	public void setMaxClusterMember(Integer maxClusterMember) {
		this.maxClusterMember = maxClusterMember;
	}

	@Column(name = "max_cluster_list", nullable = false)
	public Integer getMaxClusterList() {
		return this.maxClusterList;
	}

	public void setMaxClusterList(Integer maxClusterList) {
		this.maxClusterList = maxClusterList;
	}

	@Column(name = "organ_id")
	public Integer getOrganId() {
		return this.organId;
	}

	public void setOrganId(Integer organId) {
		this.organId = organId;
	}

	@Column(name = "user_sort")
	public Integer getUserSort() {
		return this.userSort;
	}

	public void setUserSort(Integer userSort) {
		this.userSort = userSort;
	}

	@Column(name = "user_date")
	public Integer getUserDate() {
		return this.userDate;
	}

	public void setUserDate(Integer userDate) {
		this.userDate = userDate;
	}

	@Column(name = "corp_id")
	public Integer getCorpId() {
		return this.corpId;
	}

	public void setCorpId(Integer corpId) {
		this.corpId = corpId;
	}

	@Column(name = "ip", length = 20)
	public String getIp() {
		return this.ip;
	}

	public void setIp(String ip) {
		this.ip = ip;
	}

	@Column(name = "port")
	public Integer getPort() {
		return this.port;
	}

	public void setPort(Integer port) {
		this.port = port;
	}

	@Column(name = "loginnum")
	public Integer getLoginnum() {
		return this.loginnum;
	}

	public void setLoginnum(Integer loginnum) {
		this.loginnum = loginnum;
	}

	@Column(name = "duty", length = 20)
	public String getDuty() {
		return this.duty;
	}

	public void setDuty(String duty) {
		this.duty = duty;
	}

	@Column(name = "lead")
	public boolean getLead() {
		return this.lead;
	}

	public void setLead(boolean lead) {
		this.lead = lead;
	}

	@Column(name = "operation", length = 20)
	public String getOperation() {
		return this.operation;
	}

	public void setOperation(String operation) {
		this.operation = operation;
	}

	@Column(name = "isvalid")
	public boolean getIsvalid() {
		return this.isvalid;
	}

	public void setIsvalid(boolean isvalid) {
		this.isvalid = isvalid;
	}

	@Column(name = "user_space", nullable = false)
	public long getUserSpace() {
		return this.userSpace;
	}

	public void setUserSpace(long userSpace) {
		this.userSpace = userSpace;
	}

	@Column(name = "sm_power", nullable = false)
	public Integer getSmPower() {
		return this.smPower;
	}

	public void setSmPower(Integer smPower) {
		this.smPower = smPower;
	}

	@Column(name = "mod_sms_sign", length = 10)
	public String getModSmsSign() {
		return this.modSmsSign;
	}

	public void setModSmsSign(String modSmsSign) {
		this.modSmsSign = modSmsSign;
	}

	@Column(name = "dpid")
	public Integer getDpid() {
		return this.dpid;
	}

	public void setDpid(Integer dpid) {
		this.dpid = dpid;
	}

	@Column(name = "organ_allfriend", nullable = false)
	public Integer getOrganAllfriend() {
		return this.organAllfriend;
	}

	public void setOrganAllfriend(Integer organAllfriend) {
		this.organAllfriend = organAllfriend;
	}

	@Column(name = "user_sign")
	public String getUserSign() {
		return this.userSign;
	}

	public void setUserSign(String userSign) {
		this.userSign = userSign;
	}

	@Column(name = "xwt_zh_id", length = 20)
	public String getXwtZhId() {
		return this.xwtZhId;
	}

	public void setXwtZhId(String xwtZhId) {
		this.xwtZhId = xwtZhId;
	}

	@Column(name = "xwt_bj_id", length = 20)
	public String getXwtBjId() {
		return this.xwtBjId;
	}

	public void setXwtBjId(String xwtBjId) {
		this.xwtBjId = xwtBjId;
	}

	@Column(name = "user_idno", length = 20)
	public String getUserIdno() {
		return this.userIdno;
	}

	public void setUserIdno(String userIdno) {
		this.userIdno = userIdno;
	}

	@Column(name = "log_version", nullable = false, length = 64)
	public String getLogVersion() {
		return this.logVersion;
	}

	public void setLogVersion(String logVersion) {
		this.logVersion = logVersion;
	}

	@Column(name = "user_more", nullable = false)
	public Integer getUserMore() {
		return this.userMore;
	}

	public void setUserMore(Integer userMore) {
		this.userMore = userMore;
	}

	@Column(name = "syncflag")
	public short getSyncflag() {
		return this.syncflag;
	}

	public void setSyncflag(short syncflag) {
		this.syncflag = syncflag;
	}

	@Column(name = "county", length = 20)
	public String getCounty() {
		return this.county;
	}

	public void setCounty(String county) {
		this.county = county;
	}

	@Column(name = "bkGSM")
	public Integer getBkGsm() {
		return this.bkGsm;
	}

	public void setBkGsm(Integer bkGsm) {
		this.bkGsm = bkGsm;
	}

	@Column(name = "Xj_bhao")
	public Integer getXjBhao() {
		return this.xjBhao;
	}

	public void setXjBhao(Integer xjBhao) {
		this.xjBhao = xjBhao;
	}

}